#{extends 'main.html' /}

<style>

input {
float:right;
}

form{
width:20em;

}
</style>
Welcome
<h2> ${currentUser.fName}</h2> <h2> ${currentUser.lName}</h2>


<script type = "text/javascript">
function confirmation() {
	
	alert('User has Been Deleted!!!');
}
</script>
<form action = "@{Users.deleteUser()}"   method="Get">
<input type="hidden" name="userId" value=${currentUser.id}>
<input type = "submit"  value = "Delete This User From System" onClick = "confirmation()">
</form>